home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / shell2 / dinocrdr < prev    next >
Encoding:
Text File  |  1991-03-10  |  317 b   |  16 lines

  1.  
  2. # Copyright, 1990, Regents of the University of Colorado
  3. #
  4. # This is a Bourne shell script that creates directories if they
  5. # don't exist.  Essentially it does "mkdir -p" on a machine that
  6. # doesn't have this command.
  7. #
  8.  
  9. dirs=`dinodrtn $1`
  10. for temp in $dirs
  11.  do if test ! -d $temp
  12.     then mkdir $temp
  13.     fi
  14.  done
  15.  
  16.